function a = GetArea()

count=0;  
for i=1:200
count=0;
tmp = load (strcat("seed",num2str(i),".txt"));
s = size(tmp);
l = s(1,1);   
final = tmp(l-9:l,:);
for j=1:10
for k=1:10 
if final(j,k)==0
count++;
end;
end;
end;
a(i)=100-count;
end;
[cA sA] = polyfit(1:length(a),a,1);
XL=[0, 100];
plot(a,'rx', 'MarkerSize', 10, 1:length(a), sA.yf,'g');
xlabel('Run Number');
ylabel('Area Covered (in %)');
ylim(XL);
box('off');
title('Area coverage (in %) in different runs') 
end
